home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Bank smakow
/
BankSmakow.air
/
BankSmakow.swf
/
scripts
/
mx
/
effects
/
easing
/
Linear.as
next >
Wrap
Text File
|
2009-12-16
|
1KB
|
39 lines
package mx.effects.easing
{
import mx.core.mx_internal;
use namespace mx_internal;
public class Linear
{
mx_internal static const VERSION:String = "3.5.0.12683";
public function Linear()
{
super();
}
public static function easeOut(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
return param3 * param1 / param4 + param2;
}
public static function easeIn(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
return param3 * param1 / param4 + param2;
}
public static function easeNone(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
return param3 * param1 / param4 + param2;
}
public static function easeInOut(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
return param3 * param1 / param4 + param2;
}
}
}